home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softwarová Záchrana 3
/
Softwarova-zachrana-3.bin
/
Xteq X-Setup
/
xqdcXSP-Setup-EN.exe
/
{app}
/
plugins
/
XQ IE Outlook Express 4.xpl
< prev
next >
Wrap
Text File
|
2001-05-14
|
2KB
|
69 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="4"
"COUNT"="2"
"UIPATH"="Internet\Outlook Express\Data Storage"
"NAME"="Attachments/Messages"
"VERSION"="1.21"
"LANGUAGE"="VBScript"
"TEXT 1"="Attachments Path"
"TEXT 2"="Messages Path"
"DESCRIPTION 1"="#1: You can change the location where Outlook Express saves Attachment."
"DESCRIPTION 2"="#2: Change the location where Outlook Express stores messages."
"DESCRIPTION 3"="IMPORTANT: If you change the location, be sure to physically move all files in the previous location to the new location."
"AUTHOR"="Ojatex@aol.com"
"CONTACTURL"="http://members.aol.com/ojatex/"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Thanks to Joren Combs [JorenCombs@hotmail.com] for the REG_EXPAND_SZ tip!"
'Declaration of some constants
sValPath=""
sP1="HKCU\Software\Microsoft\Outlook Express\"
sP2="HKCU\Identities\Last User ID"
sV1="Save Attachment Path"
sV2="Store Root"
'Called when the Plugin is started
SUB Plugin_Initialize
'OK, let's have a look if we are running IE5...
s=RegReadValue(sP2)
if IsEmpty(s)=false then
'OK - we have a value - check if we can find OE
sValPath="HKCU\Identities\" & s & "\Software\Microsoft\Outlook Express\5.0\"
If RegPathExists(sValPath) then
'OE5 !
sValPath=sValPath
else
sValPath=sP1
end if
else
sValPath=sP1
end if
s=RegReadValue(sValPath & sV1)
Call SetUIElement(1,s)
s=RegReadValue(sValPath & sV2)
Call SetUIElement(2,s)
END SUB
'Called when the Plugin should validate the Data the user has entered
SUB Plugin_CheckData(ElementIndex)
END SUB
'Called when the Plugin should apply the changes
SUB Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call RegWriteValue(sValPath & sV1,s,4)
s=GetUIElement(2)
Call RegWriteValue(sValPath & sV2,s,4)
END SUB
'Called when the Plugin is about to be removed from memory
SUB Plugin_Terminate
END SUB